/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.ui.controls;

import ac.GUI.engin.colorChooser;
import javax.swing.JTextField;

/**
 *
 * @author ismail
 */
public class PCLColor extends JTextField {

    public PCLColor() {
        addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                PCLColorMouseClicked(evt);
            }
        });
    }

    void PCLColorMouseClicked(java.awt.event.MouseEvent evt) {
        colorChooser c = new colorChooser();
        c.parent = this;
        c.setVisible(true);
    }
}
